import { createRouter,createWebHashHistory } from "vue-router"

const routes = [
  {
    path: "/",
    component: () => import("@/page/index.vue")
  },
  {
    path: "/reg",
    component: () => import("@/page/system/reg.vue")
  },
  {
    path: "/login",
    component: () => import("@/page/system/login.vue")
  }
]
const router = createRouter({
  history: createWebHashHistory(),
  routes: routes
})


export default router